package fun.codefarmer.pm.service.Impl;

import fun.codefarmer.pm.mapper.PoliticsStatusMapper;
import fun.codefarmer.pm.model.PoliticsStatus;
import fun.codefarmer.pm.service.PoliticsstatusService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @ ClassName PoliticsstatusServiceImpl
 * @ Descriotion TODO
 * @ author  codeFarmer_z
 * @ 公众号：码农教程
 * @ Date 2022/6/2 17:55
 **/
@Service
public class PoliticsstatusServiceImpl implements PoliticsstatusService {
    @Resource
    private PoliticsStatusMapper politicsStatusMapper;
    @Override
    public List<PoliticsStatus> getAllPoliticsstatus() {
        List<PoliticsStatus> politicsstatuses = politicsStatusMapper.getAllPoliticsstatus();
        return politicsstatuses;
    }
}
